﻿@model IEnumerable<XiDianChangAn.OA.Model.WF_Instance>

@{
    Layout = null;
}


<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>我的流程</title>
    <link href="~/Content/assets/lib/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="~/Content/assets/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="~/Content/assets/lib/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
    <hr />
    <p>
        <a href="/WFTemp/StartWF" class="btn btn-info" role="button">返回</a>
    </p>
    <table class="table table-hover">
        <tr>
            <th class="active">
                流程名：
            </th>
            <th class="success">
                创建人：
            </th>
            <th class="warning">
                创建时间：
            </th>
            <th class="danger">
                紧急程度：
            </th>
            <th class="info">
                备注：
            </th>
            <th class="success">
                流程类型：
            </th>
            <th class="active">
                流程ID：
            </th>
            <th class="danger">
                操作：
            </th>
        </tr>

        @foreach (var item in Model)
        {

                <tr>
                    <td class="active">
                        @Html.DisplayFor(modelItem => item.InstanceName)
                    </td>
                    <td class="success">
                        @Html.DisplayFor(modelItem => item.StartBy)
                    </td>
                    <td class="warning">
                        @Html.DisplayFor(modelItem => item.CreateTime)
                    </td>
                    <td class="danger">
                        @Html.DisplayFor(modelItem => item.Level)
                    </td>
                    <td class="info">
                        @Html.DisplayFor(modelItem => item.Remark)
                    </td>
                    <td class="success">
                        @Html.DisplayFor(modelItem => item.WF_TempId)
                    </td>
                    <td class="active">
                        @Html.DisplayFor(modelItem => item.WFInstanceId)
                    </td>
                    <td class="danger">
                        @Html.ActionLink("Edit", "Edit", new { id = item.Id }) |
                        @Html.ActionLink("Details", "Details", new { id = item.Id }) |
                        @Html.ActionLink("Delete", "Delete", new { id = item.Id })
                    </td>
                </tr>
            
        }

    </table>
</body>
</html>
